package com.mrjy.maintain.dao;

import com.mrjy.common.dto.UserSchoolRelDTO;
import com.mrjy.common.entity.UserSchoolRel;

public interface IUserSchoolRelDao {
		
		int insert(UserSchoolRel rel);
		
		UserSchoolRel queryById(int id);
		
		int updateById(UserSchoolRel rel);
			
		//根据ID删除学校
		int deleteByIds(int[] ids);
			
		//根据ID禁用、起用学校
		int updateDisableFlag(UserSchoolRel rel);

		UserSchoolRel queryByUserIdAndSchoolId(UserSchoolRel rel);

		int updateByUserId(UserSchoolRel rel);
		
		UserSchoolRelDTO queryByUserId(UserSchoolRel rel);
		
		
		
}
